//
//  DGGCCycleAdView.h
//  DGGCustomer
//
//  Created by liyanbo on 2019/12/18.
//  Copyright © 2019 dgg_lyb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SDCycleScrollView/SDCycleScrollView.h>
#import "CustomPageControl.h"

NS_ASSUME_NONNULL_BEGIN

@interface DGGCCycleAdView : UIView

//轮播
@property (nonatomic, strong) SDCycleScrollView *cycleView;

/// 控件容器
@property (strong, nonatomic) CustomPageControl *pageControl;

- (void)configCellWithAdsArr:(NSArray *)adsArr duration:(CGFloat)duration isShowPageControl:(BOOL)isShowPageControl adsClick:(nullable void(^)(NSInteger index))adsClick scrollBlock:(nullable void (^)(NSInteger))scrollBlock;
@end

NS_ASSUME_NONNULL_END
